package jfox.platform.organization.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import jfox.platform.infrastructure.LocalNamingAndRefInspectableEntityObject;

/**
 * @author <a href="mailto:ren.yingb@gmail.com">Ren Yingbo</a>
 */
@Entity
@Table(name="T_SYS_COMPANY")
public class Company extends LocalNamingAndRefInspectableEntityObject {
	
	@Column(name="POST_ADDRESS")
	private String postAddress;
	
	@Column(name="POST_CODE")
	private String postCode;
	
	@Column(name="LINKMAN")
	private String linkman;
	
	@Column(name="EMAIL")
	private String email;

	@Column(name="MOBILE")
	private String mobile;
	
	@Column(name="PHONE")
	private String phone;
	
	@Column(name="FAX")
	private String fax;
	
	@Column(name="REGION")
	private Integer region;
	
	@Column(name="FOUND_YEAR")
	private Integer foundYear;
	
	@Column(name="SCALE")
	private Integer scale;
	
	@Column(name="PARENT_ID")
	private long parentId;

	public String getPostAddress() {
		return postAddress;
	}

	public void setPostAddress(String postAddress) {
		this.postAddress = postAddress;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public Integer getRegion() {
		return region;
	}

	public void setRegion(Integer region) {
		this.region = region;
	}

	public Integer getFoundYear() {
		return foundYear;
	}

	public void setFoundYear(Integer foundYear) {
		this.foundYear = foundYear;
	}

	public Integer getScale() {
		return scale;
	}

	public void setScale(Integer scale) {
		this.scale = scale;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}
	

}
